package com.zb.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Bookinfo {
	private Integer bookId;

	private String bookCode;

	private String bookName;

	private Integer bookType;

	private String bookAtuthor;

	private String publishPress;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date publishDate;

	private Integer isBorrow;

	private String createdby;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date creationTime;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date lastUpdatetime;

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public String getBookCode() {
		return bookCode;
	}

	public void setBookCode(String bookCode) {
		this.bookCode = bookCode == null ? null : bookCode.trim();
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName == null ? null : bookName.trim();
	}

	public Integer getBookType() {
		return bookType;
	}

	public void setBookType(Integer bookType) {
		this.bookType = bookType;
	}

	public String getBookAtuthor() {
		return bookAtuthor;
	}

	public void setBookAtuthor(String bookAtuthor) {
		this.bookAtuthor = bookAtuthor == null ? null : bookAtuthor.trim();
	}

	public String getPublishPress() {
		return publishPress;
	}

	public void setPublishPress(String publishPress) {
		this.publishPress = publishPress == null ? null : publishPress.trim();
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public Integer getIsBorrow() {
		return isBorrow;
	}

	public void setIsBorrow(Integer isBorrow) {
		this.isBorrow = isBorrow;
	}

	public String getCreatedby() {
		return createdby;
	}

	public void setCreatedby(String createdby) {
		this.createdby = createdby == null ? null : createdby.trim();
	}

	public Date getCreationTime() {
		return creationTime;
	}

	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}

	public Date getLastUpdatetime() {
		return lastUpdatetime;
	}

	public void setLastUpdatetime(Date lastUpdatetime) {
		this.lastUpdatetime = lastUpdatetime;
	}
}